home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / bildschirmschoner / bserver_v1.5 / sources.lha / Sources / include / client_pragmas.h next >
C/C++ Source or Header  |  1995-11-08  |  3KB  |  70 lines

  1. #ifndef CLIENT_PRAGMAS_H
  2. #define CLIENT_PRAGMAS_H
  3.  
  4. /* Prototypes of the shared library */
  5.  
  6. /* Private functions */
  7. BOOL  __SendClientMsg( ULONG, struct MsgPort * );
  8. ULONG __GetServerCommand( struct MsgPort * );
  9. ULONG __WaitServerCommand( struct MsgPort * );
  10. struct DisplayIDInformation * __OpenCommunication( struct MsgPort ** );
  11.  
  12. /* Public functions */
  13. BOOL CheckAA( void );
  14. struct Screen *CloneFrontmostScreen( UBYTE );
  15. struct Screen *GetDeeperFrontmostScreen( UBYTE, UBYTE );
  16. Sound * Open8SVX( char * );
  17. void Close8SVX( Sound * );
  18. void Play8SVX( Sound *, UBYTE );
  19. void PlayAsynch8SVX( Sound *, UBYTE );
  20. ULONG DarkestColorIndex( struct Screen * );
  21. ULONG BrightestColorIndex( struct Screen * );
  22. Module * OpenModule( char * );
  23. void InitModule( Module * );
  24. BOOL PlayModule( Module * );
  25. void StopModule( Module * );
  26. void FreeModule( Module * );
  27. BOOL Decrunch30( UBYTE *, UWORD * );
  28. char * GetArgString( char *, char *, char * );
  29. int GetArgInt( char *, char *, int * );
  30. char *GetEquilizers( Module * );
  31.  
  32. extern struct Library *ClientBase;
  33.  
  34. #pragma libcall ClientBase __SendClientMsg 1e 9002
  35. #pragma libcall ClientBase __GetServerCommand 24 901
  36. #pragma libcall ClientBase __WaitServerCommand 2a 901
  37. #pragma libcall ClientBase __OpenCommunication 30 901
  38. #pragma libcall ClientBase CheckAA 36 0
  39. #pragma libcall ClientBase CloneFrontmostScreen 3c 001
  40. #pragma libcall ClientBase Open8SVX 42 901
  41. #pragma libcall ClientBase Close8SVX 48 901
  42. #pragma libcall ClientBase Play8SVX 4e 0902
  43. #pragma libcall ClientBase PlayAsynch8SVX 54 0902
  44. #pragma libcall ClientBase GetDeeperFrontmostScreen 5a 1002
  45. #pragma libcall ClientBase DarkestColorIndex 60 901
  46. #pragma libcall ClientBase BrightestColorIndex 66 901
  47. #pragma libcall ClientBase __SpritesOff 6c 0
  48. #pragma libcall ClientBase __SpritesOn 72 901
  49. #pragma libcall ClientBase OpenModule 6c 901
  50. #pragma libcall ClientBase InitModule 72 901
  51. #pragma libcall ClientBase PlayModule 78 901
  52. #pragma libcall ClientBase StopModule 7e 901
  53. #pragma libcall ClientBase FreeModule 84 901
  54. #pragma libcall ClientBase Decrunch30 8a 9802
  55. #pragma libcall ClientBase GetArgString 90 09803
  56. #pragma libcall ClientBase GetArgInt 96 09803
  57. #pragma libcall ClientBase GetEquilizers 9c 901
  58.  
  59. /* Prototypes of the linked library */
  60.  
  61. BOOL  __asm __saveds SendClientMsg( register __d0 ULONG );
  62. ULONG __asm __saveds GetServerCommand( void );
  63. ULONG __asm __saveds WaitServerCommand( void );
  64. struct DisplayIDInformation *__asm __saveds OpenCommunication( void );
  65. void  __asm __saveds CloseCommunication( register __a1 struct DisplayIDInformation * );
  66. void __asm __saveds SpritesOff( void );
  67. void __asm __saveds SpritesOn( void );
  68.  
  69. #endif
  70.